Skip to content

Add enhancements from Markov-Transition#21

Merged
FelixCAAuer merged 37 commits intomainfrom
feature/markov
Oct 30, 2025
Merged

Add enhancements from Markov-Transition#21
FelixCAAuer merged 37 commits intomainfrom
feature/markov

Conversation

@FelixCAAuer
Copy link
Copy Markdown
Contributor

No description provided.

FelixCAAuer and others added 30 commits May 27, 2025 22:42
Add option to not have Global_Scenarios.xlsx
Fix to_full_hourly_model for stochasticity
Fix vresprofile-adjustment in to_full_hourly_model for scenarios
Move "missing file" part of Global Scenarios to CaseStudy
Move read-in of Power_Hindex up
Fix file-check for Global_Scenarios
Adjust "to_full_hourly_model" to new format of dataframes
Fix non-existing Inflow file
Remove default caseStudyFolder for ExcelWriter
Fix comparison of column widths if columns are part of a column group
Rename write_VRES/Profiles to write_Power_VRES/Profiles
Add error message, if one of the Excels has different amount of rows/cols than the other
Replace Regex-Search with faster solution
Add missing information for weights_k/rp & hindex
Fix double slash in path when writing Excel-Files
Fix index for dGlobal_Scenarios if no input file is given
@FelixCAAuer FelixCAAuer requested a review from Copilot October 29, 2025 17:08
@FelixCAAuer FelixCAAuer self-assigned this Oct 29, 2025
@FelixCAAuer FelixCAAuer added the enhancement New feature or request label Oct 29, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request updates color formatting in printer output methods and includes changes to table definitions, Excel file data, and column width calculation logic. The main changes focus on ensuring only prefixes are colored in warning/error messages while leaving the message text uncolored, adding a new column to Data Sources table, fixing color definitions to include alpha channel, and refining Excel column width calculations.

  • Modified printer.py to apply color formatting only to prefixes in error/warning/success messages
  • Updated TableDefinitions.xml with version bump, new column, and corrected color hex values
  • Added new example Excel files for Power system data
  • Enhanced column width calculation logic in TableDefinition.py with special cases

Reviewed Changes

Copilot reviewed 7 out of 25 changed files in this pull request and generated 3 comments.

File Description
printer.py Modified error(), warning(), and success() methods to conditionally apply color only to prefix
TableDefinitions.xml Version bump to v0.2.0, added personResponsible column, fixed color hex values with FF prefix
TableDefinition.py Enhanced column width calculation with match-case for specific width values
data/example/*.xlsx Added multiple new Excel example files for Power system configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@FelixCAAuer FelixCAAuer merged commit ae71c60 into main Oct 30, 2025
1 check passed
@FelixCAAuer FelixCAAuer deleted the feature/markov branch October 30, 2025 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants